﻿<%@ Page Title="账户收支历史" Language="C#" MasterPageFile="~/List.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="BBPA.Admin.SYS.Account_Change_Log.List" %>

<%@ MasterType VirtualPath="/List.Master" %>
<asp:Content ID="Content4" ContentPlaceHolderID="head" runat="server">
    <script>
        bodyWidth = 950;
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Top_Control" runat="server">
    <span id="btn_Transfer" runat="server" >
<button class="btn btn-danger " href-right="Form.aspx?<%=Master.QueryString %>" title="添加转账记录">转账</button>
        </span>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_th" runat="server">
    <th class="<%=StoreID>0||SupplierID>0?"hide":"" %>">商家名称</th>
    <th>日期</th><th>类型</th>
    <th>收入</th><th>支出</th><th>可用金额</th><th>冻结</th><th>解冻</th>
    <th>冻结金额</th>
    <th>事由</th>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_td" runat="server">
    <td class="<%=StoreID>0||SupplierID>0?"hide":"" %>">
        <div class="intd">
            <%#(int)Eval("StoreID")>0?"孕婴店":"" %><%#(int)Eval("SupplierID")>0?"供应商":"" %>
             <%#Eval("StoreShortName") %><%#Eval("SupplierShortName") %>
        </div></td>
    <td><%#Eval("Dateandtime") %></td>
    <td><%#EnumHelper.GetEnumDescription((EnumHelper.AccountChangeType)DataTypePlus.requestInt(Eval("Type"))) %></td>
    
    <td><%#((EnumHelper.AccountChangeType)DataTypePlus.requestInt(Eval("Type")))==EnumHelper.AccountChangeType.Increase?StringPlus.showMoney( Eval("Money")):"-" %></td>
    <td><%#((EnumHelper.AccountChangeType)DataTypePlus.requestInt(Eval("Type")))==EnumHelper.AccountChangeType.Decrease?StringPlus.showMoney( Eval("Money")):"-" %></td>
    
    <td><%#StringPlus.showMoney(DataTypePlus.requestDecimal( Eval("AccountAfter"))-DataTypePlus.requestDecimal( Eval("FrozenAccountAfter"))) %></td>
    
    
    <td><%#((EnumHelper.AccountChangeType)DataTypePlus.requestInt(Eval("Type")))==EnumHelper.AccountChangeType.Freeze?StringPlus.showMoney( Eval("Money")):"-" %></td>
    <td><%#((EnumHelper.AccountChangeType)DataTypePlus.requestInt(Eval("Type")))==EnumHelper.AccountChangeType.UnFreeze?StringPlus.showMoney( Eval("Money")):"-" %></td>
    
    

    <td><%#StringPlus.showMoney(Eval("FrozenAccountAfter")) %></td>

    <td><div class="intd"><%#EnumHelper.GetEnumDescription((EnumHelper.AccountChangeReason)DataTypePlus.requestInt( Eval("Reason"))) %></div></td>
</asp:Content>

